class UserTaskDetail {
  UserTaskDetail({
    this.collectCount,
    this.commonSet,
    this.endTime,
    this.questionId,
    this.startTime,
    this.status,
    this.taskDesc,
    this.taskId,
    this.taskName,
    this.updateTime,
    this.writeCount,
    this.validCount,
    this.title,
  });

  UserTaskDetail.fromJson(dynamic json) {
    collectCount = json['collectCount'];
    commonSet = json['commonSet'];
    endTime = json['endTime'];
    questionId = json['questionId'];
    startTime = json['startTime'];
    status = json['status'];
    taskId = json['taskId'];
    taskDesc = json['taskDesc'];
    taskName = json['taskName'];
    updateTime = json['updateTime'];
    writeCount = json['writeCount'];
    validCount = json['validCount'];
    title = json['title'];
  }

  int? collectCount;
  String? commonSet;
  String? endTime;
  String? questionId;
  String? startTime;
  String? status;
  String? taskDesc;
  String? taskId;
  String? taskName;
  String? updateTime;
  int? writeCount;
  int? validCount;
  String? title;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['collectCount'] = collectCount;
    map['commonSet'] = commonSet;
    map['endTime'] = endTime;
    map['questionId'] = questionId;
    map['startTime'] = startTime;
    map['status'] = status;
    map['taskId'] = taskId;
    map['taskDesc'] = taskDesc;
    map['taskName'] = taskName;
    map['updateTime'] = updateTime;
    map['writeCount'] = writeCount;
    map['validCount'] = validCount;
    map['title'] = title;
    return map;
  }
}
